# 模板


class Student():
    name = ''
    age = 0

    def __init__(self, name, age):
        self.name = name
        self.age = age
       # print(name, age)

    @classmethod
    def post(self):
        self.age += 1


student = Student('huang', 23)

print(student.age)
print(student.name)
Student.post()
print('----------------------')
student = Student('huang', 23)
Student.post()
print(student.age)
print(student.name)

print(Student.age)
